home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19941221-19950208
/
000459_news@columbia.edu_Sun Feb 8 04:16:15 1995.msg
< prev
next >
Wrap
Internet Message Format
|
1995-07-31
|
3KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA11692
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Wed, 8 Feb 1995 00:37:01 -0500
Received: by apakabar.cc.columbia.edu id AA12612
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Wed, 8 Feb 1995 00:36:59 -0500
Path: news.columbia.edu!sol.ctr.columbia.edu!howland.reston.ans.net!vixen.cso.uiuc.edu!usenet.ucs.indiana.edu!indyvax.iupui.edu!harvey
From: harvey@indyvax.iupui.edu (James Harvey)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Getting back to C-Kermit command level when using a command file
Message-Id: <1995Feb7.231615.12294@ivax>
Date: 7 Feb 95 23:16:15 -0500
References: <1995Feb4.022222.12173@ivax> <3h0d6h$pfo@apakabar.cc.columbia.edu>
Organization: Indiana University-Purdue University at Indianapolis
Lines: 45
Apparently-To: kermit.misc@watsun.cc.columbia.edu
In article <3h0d6h$pfo@apakabar.cc.columbia.edu>, fdc@watsun.cc.columbia.edu (Frank da Cruz) writes:
> In article <1995Feb4.022222.12173@ivax>,
> James Harvey <harvey@indyvax.iupui.edu> wrote:
>>I have a question about C-Kermit 5A(190) on a VAX. We use this to
>>provide dialout services under a menu system using a C-Kermit command file.
>>The command file is passed the number to dial on the command line like
>>this:
>>
>>$ CKERMIT dialing-command-file -Y = number-to-call
>>
> I think that should be:
>
> $ CKERMIT dialing-command-file "-Y" = number-to-call
>
> VMS lowercases your command-line options unless you enclose them in
> quotes. If it worked for you without quotes, it's an accident :-)
You're right of course. I had overlooked the doublequotes, which caused
the command to work as long as there was an exit command in the command
file. When I tried to take it out, I would get a command syntax error
(correctly because of the missing filespec argument to the unquoted -Y
option which was now really a -y option). I should have mentioned that,
but I thought it was unrelated (yes, I should know better :)
[snip]
>
> I don't think the "-S" should be necessary, though. When you invoke a
> command file by giving its name as the first command-line argument, this
> should not cause an automatic exit. (Of course, Kermit will exit if the
> command file contains an EXIT or QUIT command.) So any of the following
> should work:
>
> $ CKERMIT dialing-command-file "-Y" = number-to-call
>
> $ CKERMIT -y dialing-command-file = number-to-call
Yes, this works perfectly. Thanks!
P.S.: Nice work on 5A(190). I like the bugfix for flow control on the
console (edit 061 to ckvtio.c). Now I can toss my last patch! (well,
except for our wacky custom modem-dialer code)
--
James Harvey harvey@iupui.edu IUPUI IT Networks and Systems
Disclaimer: These are my own opinions. I do not speak for Indiana University.
I spilt spot remover on my dog and now he's gone.